addStream

@NonNull
open fun addStream(@NonNull streamUri: @NonNull Uri): @NonNull ShareCompat.IntentBuilder(source)

Add a stream URI to the data that should be shared. If this is not the first stream URI added the final intent constructed will become an ACTION_SEND_MULTIPLE intent. Not all apps will handle both ACTION_SEND and ACTION_SEND_MULTIPLE.

Return

This IntentBuilder for method chaining

Parameters

streamUri

URI of the stream to share

See also